package club.easin.product.relation;

import org.neo4j.ogm.annotation.EndNode;
import org.neo4j.ogm.annotation.GeneratedValue;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.Property;
import org.neo4j.ogm.annotation.RelationshipEntity;
import org.neo4j.ogm.annotation.StartNode;

import club.easin.product.bean.Fault;
import club.easin.product.bean.Range;
import club.easin.product.bean.Soft;

@RelationshipEntity(type="use_software")
public class UseSoftware {
	
	@Id @GeneratedValue
	private Long id;
	@StartNode
	private Range startNode;
	@EndNode
	private Soft endNode;
	@Property("description")
	private String description;
	@Property("stage")
	private String stage;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Range getStartNode() {
		return startNode;
	}
	public void setStartNode(Range startNode) {
		this.startNode = startNode;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getStage() {
		return stage;
	}
	public void setStage(String stage) {
		this.stage = stage;
	}
	public Soft getEndNode() {
		return endNode;
	}
	public void setEndNode(Soft endNode) {
		this.endNode = endNode;
	}
	
	
	

}
